#ifndef _DATA_TYPE_H_
#define _DATA_TYPE_H_

#include "modules/drivers/lidar/orin_hesai/hesai_utils/hesai_data_type.h"

namespace apollo {
namespace drivers {
namespace lidar_hesai {

enum LidarType : uint8_t { PANDAR_XT_32, UNKNOWN };

class LidarPacket {
 public:
  LidarPacket();
  LidarType type;
  uint64_t stamp;
  HesaiLidarPacketData hesaiPacket;
  void CopyFrom(const LidarPacket src);
};

typedef void (*HesaiLidarDataCallBack)(LidarPacket* data);

}  // namespace lidar_hesai
}  // namespace drivers
}  // namespace apollo

#endif
